package com.itlaobing.aop.concepts;

import java.util.logging.Logger;

public class Calculator implements Calculatable{

    private Logger logger = Logger.getLogger(this.getClass().getName());
    @Override
    public long divide(long dividend, long divisor) throws Exception {
        logger.info("计算：" +dividend+ "除以" +divisor+"的结果");
        return dividend/divisor;
    }
}
